home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / Select.au3 < prev    next >
Text File  |  2006-06-17  |  220b  |  9 lines

  1. Select
  2.     Case $var = 1
  3.         MsgBox(0, "", "First Case expression was true")
  4.     Case $var2 = "test"
  5.         MsgBox(0, "", "Second Case expression was true")
  6.     Case Else
  7.         MsgBox(0, "", "No preceding case was true!")
  8. EndSelect
  9.